<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:p="http://primefaces.org/ui"
                template="/templates/base.xhtml">
    <ui:param name="titulo" value="E-Learning"/>
    <ui:define name="menu">
        <f:view>
            <h:form id="menu_form">
                <p:menubar>
                    <p:menuitem value="Inicio" action="#{beanQuestions.irBienvenida}" ajax="false" icon="ui-icon-home" />  
                    <p:submenu label="Opciones" icon="ui-icon-document">
                        <p:menuitem value="Evaluar" action="#{beanQuestions.evaluarNav}" ajax="false" icon="ui-icon-pencil" />  
                        <p:separator />
                        <p:menuitem value="Estadisticas" action="#{beanQuestions.estadisticasNav}" ajax="false" icon="ui-icon-gear" />  
                    </p:submenu>
                    <p:menuitem value="Salir" action="#{beanQuestions.salir}" ajax="false" icon="ui-icon-newwin" />  
                </p:menubar>
            </h:form>
        </f:view>
    </ui:define>
    <ui:define name="content">
        <f:view>
            <h:form id="welcome_form">
                <center>
                    <h:outputLabel id ="titulo1" value="Bienvenid@"
                                   style="font-size: 40px; font-weight: bold; 
                                   text-shadow: 2px 2px 5px blue;"/>
                    <br></br>
                    <h:outputLabel id ="titulo2" value="Evaluación de Plataforma E-learning"
                                   style="font-size: 40px; font-weight: bold; 
                                   text-shadow: 2px 2px 5px blue;"/>
                </center>
            </h:form>
        </f:view>
    </ui:define>
</ui:composition>